<?php

class Response extends Param{
    
    public function returnJson() {
        $j = new Json();
        
        header('Content-Type: text/html; charset=utf-8');
        echo $j->encode($this)->getJson();
    }
}